vtd: Add a command line param to enable/disable pass-through feature
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 10 Sep 2008 09:53:09 +0000 (10:53 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 10 Sep 2008 09:53:09 +0000 (10:53 +0100)
commitbd9e91b6d96050be3d888a1446d534ddf01b1678
tree2483659fd2113abf26f78faf4ccf5f597c74b4ec
parent4b4f92e98d6bdab2a9b7fdd9474bff988bdee0cb
vtd: Add a command line param to enable/disable pass-through feature

Taking security into accout, it's not suitable to bypass VT-d
translation for Dom0 by default when the pass-through field in
extended capability register is set. This feature is for people/usages
who are not overly worried about security/isolation, but want better
performance.

This patch adds a command line param that controls if it's enabled or
disabled.

Signed-off-by: Weidong Han <weidong.han@intel.com>
xen/drivers/passthrough/iommu.c
xen/drivers/passthrough/vtd/iommu.c
xen/include/xen/iommu.h